package com.guangpan.springboot.mapper;

import com.guangpan.springboot.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer id);

    //注册
    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    //登录
    UserInfo selectByUsernameAndPassword(UserInfo record);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);
}